@extends('layout.admin.master')
@section('content')
<div class="container-fluid mt-5">
    <div class="card">
        <div class="card-header">

            <h4 class="card-header-title">
                邮件配置管理
            </h4>
        </div>
        <div class="card-body">
            <form action="{{route('admin.config.update',['name'=>$name])}}" method="post">
                @csrf
                <div class="form-group">
                    <label for="exampleInputEmail1">驱动</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="MAIL_DRIVER" value="SMTP">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">主机</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="MAIL_HOST" value="smtpdm.aliyun.com">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">端口</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="MAIL_PORT" value="80">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">登录账号</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="MAIL_USERNAME" value="laravel-cms@laravel-cms.ishilf.com">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">密码</label>
                    <input type="password" class="form-control" id="exampleInputEmail1" name="MAIL_PASSWORD" value="Wu13623689887Bin">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">加密方式</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="MAIL_ENCRYPTION" value="tls">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">回复地址</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="MAIL_FROM_ADDRESS" value="laravel-cms@laravel-cms.ishilf.com">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail1">邮件发送者</label>
                    <input type="text" class="form-control" id="exampleInputEmail1" name="MAIL_FROM_NAME" value="后盾人c96">
                </div>
                <button type="submit" class="btn btn-primary">保存数据</button>
            </form>

        </div>
    </div>
</div>
@endsection